<%@ taglib prefix="s" uri="/struts-tags"%>

<li>


		<s:url id="openUrl" namespace="/genus" action="browse">
			<s:param name="taxonId" value="id" />
			<s:param name="lft" value="left" />
			<s:param name="rgt" value="right" />
			<s:param name="datasource" value="datasourceId" />
		</s:url>

		<s:a href="%{openUrl}"><s:property value="name"/></s:a>

		<!--  This is only shown if the child has no children -->
		<s:if test="%{children.size()>0 && children.get(0).getChildren().size()==0}">
			<div class="taxonomyContainer">
		</s:if>

		<ul class="taxonomy">
			<s:iterator value="children">
				<jsp:include page="includer.jsp" />
			</s:iterator>
		</ul>

		<s:if test="%{children.size()>0 && children.get(0).getChildren().size()==0}">
			</div>
		</s:if>

</li>